package com.chaos.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaos.framework.model.entity.IdModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-13
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@TableName("t_config")
@ApiModel(value="TConfig实体", description="系统配置表")
public class TConfig extends IdModel {


    @ApiModelProperty(value = "配置key名称")
    @TableField("config_key")
    private String configKey;


    @ApiModelProperty(value = "配置值")
    @TableField("config_value")
    private String configValue;


    @ApiModelProperty(value = "配置类型 1:系统配置,2:业务配置")
    @TableField("type")
    private Integer type;


    @ApiModelProperty(value = "状态（正常:0、禁用:1、删除2）")
    @TableField("status")
    private Integer status;


}
